Reputation-based strategy for forwarding and responding to interests over a content centric network

ABSTRACT

A CCN network node use reputation values for one or more interfaces to determine how to forward an Interest. During operation, the network node can receive an Interest or Content Object via a network interface, determines one or more candidate outbound faces for forwarding the Interest by performing a longest-prefix-matching lookup in a forwarding information base (FIB) using the Interest&#39;s name or name prefix as input. A respective FIB entry maps a name prefix to a forwarding rule that includes a corresponding outbound face for the name prefix. The node can determine a reputation value for each of the candidate outbound faces based on reputation information stored in association with the Interest&#39;s name or name prefix, and selects a candidate outbound face with a reputation value exceeding a first predetermined threshold. The node can then forward the received Interest via the selected outbound face.

FIELD

The present disclosure generally relates to a content centric network (CCN). More specifically, the present disclosure relates to a method and apparatus for using a reputation-based strategy to forward Interests and return Content Objects in a CCN.

RELATED ART

The proliferation of the Internet and e-commerce continues to fuel revolutionary changes in the network industry. Today, a significant number of information exchanges, from online movie streaming to daily news delivery, retail sales, and instant messaging, are conducted online. An increasing number of Internet applications are also becoming mobile. However, the current Internet operates on a largely location-based addressing scheme. The most ubiquitous protocol, the Internet Protocol (IP), is based on location-based address. That is, a consumer of content can only receive the content by explicitly requesting the content from an address (e.g., IP address) closely associated with a physical object or location. This restrictive addressing scheme is becoming progressively inadequate for meeting the ever-changing network demands.

Recently, content centric networking (CCN) architectures have been proposed in the industry. CCN brings a new approach to content transport. Instead of having network traffic viewed at the application level as end-to-end connections over which content travels, content is requested or returned based on its unique name, and the network is responsible for routing content from the provider to the consumer.

With content centric networks, a node in the network may receive a request for some content using the content name, which is called an Interest. If the node cannot provide the content to satisfy the Interest, it may forward the Interest through an interface associated with the Interest's name or name prefix, and the Interest eventually reaches a node that can provide a Content Object to satisfy the Interest.

However, current techniques for forwarding an Interest do not allow for forwarding strategies that may use network resources more efficiently. Network conditions may change and nodes are limited in their ability to adapt and respond to the changing conditions. For example, the response time for an interface may increase dramatically, but the node may continue to forward Interests to the interface, which is undesirable. As another example, the network may become congested at the same time every day, and certain interfaces may provide a greater bandwidth than others. To make matters worse, some interfaces may deliver content objects whose signatures do not have a high probability of being verified successfully. Current CCN nodes are not capable of selecting which interfaces to use for sending or receiving packets to maximizing their performance and/or to obtain content from the most reliable nodes/caches.

SUMMARY

One embodiment of the present invention provides a CCN network node that facilitates strategic use of reputation values to forward Interests and cache Content Objects. During operation, the network node can determine one or more candidate outbound faces for forwarding an Interest by looking up the Interest's name or name prefix in a forwarding information base (FIB). A respective FIB entry maps a name prefix to a forwarding rule that includes a corresponding outbound face for the name prefix. The node can determine a reputation value for each of the candidate outbound faces based on reputation information stored in association with the Interest's name or name prefix, and selects a candidate outbound face with a reputation value exceeding a first predetermined threshold. The node can then forward the received Interest via the selected outbound face.

In one variation on this embodiment, the reputation information includes at least one of: a reputation value, a set of attribute values, and a set of attribute weights.

In one variation on this embodiment, the network node determines the reputation value by obtaining the reputation value from the reputation information, computing the reputation value based on one or more of the attribute values and attribute weights from the reputation information or computing the reputation value from one or more of the attribute values of the reputation information and custom attribute weights for the one or more attribute values.

In one variation on this embodiment, the node can receive, via one or more faces, one or more Content Objects associated with a common name or name prefix. The node determines, for each of the one or more Content Objects, reputation information for a respective face, or for the name or name prefix of the Content Object received via the respective face. The node then determines whether to cache a respective Content Object based on the corresponding reputation information. The node may cache the Content Object with the corresponding reputation information in a Content Store in response to determining to cache the respective Content Object.

In one variation on this embodiment, the node can forward the received Interest via multiple outbound faces. The node can wait for a predetermined period of time to receive one or more Content Objects via any of the multiple outbound faces, such that each of the one or more Content Objects is associated with reputation information. The node selects, from the one or more Content Objects, a second Content Object with a highest reputation value. The network node may cache the second Content Object and return the second Content Object via a face from which the Interest was received, in response to determining that the second Content Object's reputation value is higher than the reputation value of a cached Content Object.

In one variation on this embodiment, the network node can receive a second Interest from a first ingress face, and perform a lookup in a Content Store to retrieve a cached Content Object that satisfies the second Interest. The Content Store may store the Content Object along with corresponding reputation information. The network node can return the cached Content Object to the requesting node in response to determining, from the Content Object's reputation information, that the Content Object's reputation value exceeds a predetermined threshold.

In one variation on this embodiment, the network node can assign an attribute value to one or more attributes for a second candidate outbound face, and assigns a weight value to each of the one or more attributes. The node can compute a reputation value for the second candidate outbound face for the name prefix based on the assigned attribute value and the assigned weight value. The node may store reputation information, which includes the reputation values, attribute values, and weight values, in association with the candidate outbound face and/or the name prefix.

In one variation on this embodiment, the network node can compute one or more attribute values for a respective candidate outbound face based on the name prefix, and can normalize a respective attribute value based on a highest expected value for the attribute. The node can determine a weight for the respective attribute value, and computes the reputation value for the outbound face and name prefix as a weighted sum of the one or more attribute values.

In one variation on this embodiment, the network node can receive a first Interest from a first ingress face, and a second Interface from a second ingress face. The network node determines whether the second ingress face is associated with a higher priority than the first ingress face. If so, the network node forwards the first Interest via a first egress face, and forwards the second Interest via a second egress face with a reputation value that is higher than that of the first egress face.

In one variation on this embodiment, the network node can determine a set of name prefixes associated with the name prefix classification for a name prefix classification. The network node generates reputation information for the name prefix classification based on profiling information associated with the set of name prefixes, and associates the reputation information with the name prefix classification.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 presents a diagram illustrating an exemplary network environment that includes a CCN, in accordance with an embodiment of the present invention.

FIG. 2 presents an exemplary CCN topology that facilitates strategic use of reputation values to forward Interests and cache Content Objects, in accordance with an embodiment of the present invention.

FIG. 3 presents a flow chart illustrating an overview of an exemplary process for computing a reputation value, in accordance with an embodiment of the present invention.

FIG. 4 presents a flow chart illustrating an exemplary process for returning a Content Object in response to receiving an Interest, in accordance with an embodiment of the present invention.

FIG. 5 presents a flow chart illustrating an exemplary process for using reputation values to determine how to forward an Interest, in accordance with an embodiment of the present invention.

FIG. 6 presents a flow chart illustrating an exemplary process for updating attribute values, weight values, and reputation values, and using reputation values to determine whether to cache a Content Object, in accordance with an embodiment of the present invention.

FIG. 7 presents a block diagram illustrating an exemplary forwarding information base (FIB) with reputation values, according to an embodiment.

FIG. 8 presents a block diagram illustrating an exemplary Content Store, according to an embodiment.

FIG. 9 illustrates an exemplary apparatus that facilitates strategic forwarding and caching using reputation values, in accordance with an embodiment.

FIG. 10 presents an exemplary computer system for using reputation values to facilitate strategic forwarding and caching, in accordance with an embodiment of the present invention.

In the figures, like reference numerals refer to the same figure elements.

DETAILED DESCRIPTION

The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

The data structures and code described in this detailed description are typically stored on a computer-readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system. The computer-readable storage medium includes, but is not limited to, volatile memory, non-volatile memory, magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs), DVDs (digital versatile discs or digital video discs), or other media capable of storing computer-readable media now known or later developed.

Overview

Embodiments of the present invention solve the problem of inflexible and inefficient utilization of network resources by using reputation values to dynamically adapt the forwarding of Interests and caching of Content Objects. This increases the likelihood of meeting specific objectives associated with name prefixes. A CCN node computes a reputation value as a numeric value using a customized calculation designed to weigh quantifiable factors that could assist the node to meet specific objectives. These factors can be quantified by numeric attributes such as the latency or bandwidth of an interface for a particular name prefix, or the success rate for verifying Content Object signatures for a particular name prefix coming from an interface. An attribute is a quantifiable property, policy, or characteristic that a node can measure to make an informed decision.

A system administrator can assign a weighted value to each attribute so that the computed reputation value achieves a desired objective. The objectives can include, for example, providing a continuous video-streaming experience to a user, or providing authentic data that has not been forged or tampered with. An objective is typically associated with a specific namespace, and different namespaces may be associated with different objectives. To achieve the objective, attributes specific to this objective can be used to compute a reputation value directed to this objective. Hence, a network node may assign weight values to an interface's attributes based on an Interest's name prefix, or based on an objective associated with the name prefix.

By introducing reputation values into the decision-making process at the CCN node, the node can greatly increase the probability of meeting various objectives for a namespace. The node has more fine-grained control and can make more informed decisions when utilizing reputation values. The node will more efficiently use network resources and significantly reduce the likelihood of content requesters receiving bad content or poor service.

The node may use a reputation value, for example, to make forwarding decisions, to decide whether to cache a Content Object, or to determine whether to return a Content Object read from a cache. The node may compute a reputation value for each face that it can use to forward an Interest, and forward an Interest to one or more faces with reputation values exceeding a predetermined minimum threshold. Note that the term “face” refers to an interface or a virtual interface, and a virtual interface can include a collection of interfaces. The node may also compute a reputation value for a Content Object received from a face, and then cache the Content Object in the Content Store if the reputation value exceeds a predetermined threshold. Furthermore, the node may return a Content Object from the Content Store to a requesting node if the reputation value associated with the cached Content Object exceeds a predetermined threshold.

In some embodiments, the node may compute a reputation value R which is a linear combination of weighted attribute values <x₁, x₂, . . . , x_(n)>:

$R = {\sum\limits_{i = 1}^{n}\;{w_{i}x_{i}}}$

where n is the number of attributes, x_(i) is the attribute value for attribute i, and w_(i) is the weight value for attribute i. Attributes can cover a wide variety of topics. Attributes can include performance metrics such as latency or bandwidth measures for a face. Other examples of attributes include the number of times that a node has successfully verified signatures for Content Objects for a particular face, routing policies (e.g., restrictions on time of routing or type of network traffic), and a number of times the node received the same Interest. The node may associate different weight values with different attributes to emphasize the importance of certain attributes for a given objective associated with the name prefix, and to reduce the importance of other attributes. For a given name prefix, a node and/or an administrator may select and adjust the attributes and weight values over time to achieve an objective of the name prefix.

The node can automatically adapt to changing network conditions to meet objectives through proper selection and use of attributes and weight values in computing the reputation value. For example, by adding a latency attribute to a reputation value and heavily weighting the latency attribute, a node can forward Interests so that the face with the lowest latency will receive the Interest, even as the network load shifts among the faces.

Content-Centric Network Architecture

In a CCN, communication is driven by the consumers of data. The CCN architecture provides two packet types: an Interest packet and a Content Object (e.g., data) packet. An Interest packet (also called a “query”) serves as a request for some content. An Interest packet encodes a special form of query that expresses the name (or sometimes name prefix) of the content that is desired. A Content Object packet includes a unit of content. Content Object packets are self-identifying by carrying within them their full name. A consumer asks for content by sending the Interest over the content centric network, and any recipient of the Interest can satisfy the Interest by responding with a matching Content Object. Content Objects are transmitted only in response to an Interest, and consumes that Interest. Both Interest and Content Objects identify the content being exchanged by the content name (or CCN name). In some embodiments, a Content Object can “satisfy” an Interest if the CCN name in the Interest packet is a prefix of the CCN name in the Content Object. The following terms describe elements of a content-centric network (CCN):

Content Object: A single piece of named data, which is bound to a unique name. Content Objects are “persistent,” which means that a Content Object can move around within a computing device, or across different computing devices, but does not change. If any component of the Content Object changes, the entity that made the change creates a new Content Object that includes the updated content, and binds the new Content Object to a new unique name.

Name: A name in a CCN is typically location independent and uniquely identifies a Content Object. A data-forwarding device can use the name or name prefix to forward an Interest packet toward a network node that generates or stores the Content Object, regardless of a network address or physical location for the Content Object. In some embodiments, the name may be a hierarchically structured variable-length identifier (HSVLI). The HSVLI can be divided into several hierarchical components, which can be structured in various ways. For example, the individual name components parc, home, ccn, and test.txt can be structured in a left-oriented prefix-major fashion to form the name “/parc/home/ccn/test.txt.” Thus, the name “/parc/home/ccn” can be a “parent” or “prefix” of “/parc/home/ccn/test.txt.” Additional components can be used to distinguish between different versions of the content item, such as a collaborative document.

In some embodiments, the name can include a non-hierarchical identifier, such as a hash value that is derived from the Content Object's data (e.g., a checksum value) and/or from elements of the Content Object's name. A description of a hash-based name is described in U.S. patent application Ser. No. 13/847,814 (entitled “ORDERED-ELEMENT NAMING FOR NAME-BASED PACKET FORWARDING,” by inventor Ignacio Solis, filed 20 Mar. 2013), which is hereby incorporated by reference. A name can also be a flat label. Hereinafter, “name” is used to refer to any name for a piece of data in a named-data network, such as a hierarchical name or name prefix, a flat name, a fixed-length name, an arbitrary-length name, or a label (e.g., a Multiprotocol Label Switching (MPLS) label).

Interest: A packet that indicates a request for a piece of data, and includes a name (or a name prefix) for the piece of data. A data consumer can disseminate a request or Interest across an information-centric network, which CCN routers can propagate toward a storage device (e.g., a cache server) or a data producer that can provide the requested data to satisfy the request or Interest.

A description of a CCN architecture is described in U.S. patent application Ser. No. 12/338,175 (entitled “CONTROLLING THE SPREAD OF INTERESTS AND CONTENT IN A CONTENT CENTRIC NETWORK,” by inventors Van L. Jacobson and Diana K. Smetters, filed 18 Dec. 2008), which is hereby incorporated by reference.

Exemplary Architecture of a CCN

FIG. 1 presents a diagram illustrating an exemplary network environment that includes a CCN 100, in accordance with an embodiment of the present invention. CCN 100 includes a number of devices, such as a laptop computer 102, a media server 104, and smartphones 106-111, coupled to each other via CCN 100. Note that the devices can be any type of a computing device, including mobile computing devices, such as a laptop computer, a tablet or slate computer, a smartphone, or a personal digital assistant (PDA), or a stationary computing device, such as a desktop computer or a home media server.

In addition, each device may have a reputation computation module, a pending interest table (PIT), a forwarding information base (FIB), and a forwarder, among other components. An example of the components is illustrated for media server 104, including a reputation computation module 112, a PIT 114, a FIB 116, a forwarder 118, and a Content Store 120.

Reputation computation module 112 can compute and update reputation values either periodically or on-demand (in near real-time). Node 104 maintains PIT 114 to keep track of pending Interests, and can update PIT 114 when it receives a new Interest or when a pending Interest is satisfied or times out. PIT 114 stores entries for Interests that are to be matched against incoming Content Objects, and each entry is only removed when a match is made, or when an Interest times out. FIB 116 is a forwarding table that contains information for node 104 to determine to which neighbor node or nodes an Interest should be sent.

Forwarder 118 forwards Interests and/or packets on the network. Forwarder 118 performs functions that include deciding to which faces it will forward an Interest based on reputation values, and updating reputation values and attribute values when a node receives an Interest or a Content Object. Note that in some embodiments, the media server 104 may include additional modules that perform some of the individual functions of forwarder 118, and embodiments of the present invention are not limited to the modules described herein.

Content Store 120 can cache Content Objects that media center 104 has received via one or more faces.

Exemplary CCN Topology

FIG. 2 presents an exemplary CCN topology for a set of CCN nodes that use reputation values to forward Interests and cache Content Objects, in accordance with an embodiment of the present invention. FIG. 2 illustrates six example nodes 202-212 in a CCN, with five nodes 204-212 connected through faces 214-222 to node 202. Node 202 may include, for example, media server 104 in FIG. 1. Node 202 may receive an Interest through face 222, at which point node 202 decides whether to return a cached Content Object or forward the Interest.

If there is a Content Object that satisfies the Interest cached in Content Store 120 at node 202, node 202 may return the Content Object if a reputation value associated with the cached Content Object exceeds a predetermined threshold.

If node 202 determines that it is necessary to forward the Interest, node 202 may use reputation values of faces 214-220 to select faces for forwarding the Interest. Node 202 may send the Interest to a face with the highest reputation value or send the Interest to a selection of faces with reputation values above a predetermined threshold. Node 202 may also use reputation values to determine whether to cache any Content Object received from its neighboring nodes.

Node 202 can initially assign a set of attributes to a name prefix, or to a face for a particular name prefix. For example, node 202 can assign a set of attributes to name prefix “/bbc.” The first attribute can correspond to the frequency that Content Objects containing the name prefix are requested, and the second attribute can correspond to special policies associated with the name prefix. Hence, computing a reputation value for the name prefix (e.g., without an associated face) can be useful in deciding whether to cache a content object.

In some embodiments, node 202 can compute a reputation value for an interface, for example, by collapsing reputation values associated with multiple name prefixes. Computing a reputation value for the interface (e.g., without an associated name prefix) can be useful in deciding how to forward an Interest with a rare name prefix. It may be difficult for the node to compute an accurate reputation for a name prefix for which historical performance data does not exist, hence the node can decide how to forward the Interest based on a face's general performance.

Node 202 can also assign a set of attributes to a face for a particular name prefix (e.g., “per name-prefix, per face”). For example, node 202 can assign a set of attributes to face 216 for name prefix “/bbc.” These attributes can include a latency (e.g., response time in receiving a Content Object after sending an Interest via face 216), and a signature verification success rate. A Content Object includes a name, data, and a signature that binds the name and data to a producer of the data. This signature can confirm the authenticity and integrity of the data. Another attribute can correspond to a routing policy that can specify routing constraints or routing considerations, such as restrictions on routing between nodes during certain time periods or restrictions on the traffic load or types of traffic to some portions of the network.

An attribute can also involve a protocol for a particular type of traffic packet, such as video traffic packets. For example, node 202 may need to apply certain rules to video traffic packets, and may need to forward the packets to a particular face. Node 202 can map an attribute to a numeric value for computing the reputation value. For example, node 202 can map the routing policy attribute or protocol attribute to a numeric value.

Note that node 202 can compute a reputation value for a face with the particular name prefix. This is computing a reputation value “per name-prefix, per face.” A different name prefix for the same face may be associated with different attributes, and thus a different reputation value.

Note that node 202 may change the set of attributes assigned to a name prefix or assigned to a face for a particular name prefix either periodically, on-demand, or at any time. Node 202 can change the set of attributes when new attributes become available, or can change the attributes (and weight values) when node 202 changes the objective of a name prefix. An administrator may make the changes, or node 202 can make the changes automatically.

Node 202 may use the set of attributes assigned to a name prefix and/or face to determine attribute values. Node 202 may dynamically compute or update the attribute values whenever appropriate, such as when node 202 receives a Content Object (e.g., to update latency metrics), or receives an Interest (e.g., to update the number of times that an Interest is received). As another example, node 202 may update the number of successful signature verifications when it successfully verifies the signature for a Content Object. Node 202 may update attribute values for other attributes when appropriate.

Node 202 may compute the values of the attributes locally based on historical information, such as past traffic data over a period of time (e.g., past 5 minutes, past 20 days, or past one year). Node 202 may analyze historical data and quantify attribute values using the performance of the node for various different namespaces. For example, node 202 may collect and maintain logs and metrics data for a face (e.g., face 216) that node 202 has forwarded Interests to over a period of time for a namespace “/bbc,” and may compute an attribute value from the data.

Each node may normalize its attribute values independent of other nodes, depending on their own local criteria. For example, node 202 may normalize attribute values based on the highest attribute expected value (e.g., the value encountered). Node 202 may normalize attribute values so that higher scores are better, while other nodes may normalize their attributes so that lower scores are better. A node may normalize attribute values such that it will compute a reputation value between any set of values (e.g., in the range [0,1]).

Node 202 may also assign a weight value to each attribute independent of how other nodes assign their weights. Node 202 may assign weight values for each attribute on a “per name-prefix,” “per face,” or “per name-prefix, per face” basis. That is, node 202 can assign a set of weight values to attributes for a name prefix. It can also assign another set of weight values to attributes for a face. Node 202 can also assign yet another set of weight values to a face for a particular name prefix. Alternatively, node 202 may use the same set of weight values for all namespaces and faces at a node.

Node 202 may also assign weight values at different hierarchical levels of a namespace. For example, node 202 may associate the name prefix “/cnn” with one set of weight values, and node 202 may associate the name prefix “/cnn/headlines” with another set of weight values.

Node 202 may set weight values based on criteria determined from available local resources, policy requirements, and/or any other constraints. Node 202 can evaluate the criteria and constraints to automatically (e.g., without human intervention) set or update attributes and weight values that satisfy the criteria and constraints. Node 202 may reassign new weight values according to the importance of attributes, and compute reputation values according to the new weight values. For example, if response time is important, node 202 may increase the weight value of the latency attribute, and compute new reputation values. As another example, node 202 may adjust weight values to maximize the use of available resources and avoid underutilization of resources, while staying within maximum usage thresholds. Node 202 can dynamically update attribute values and update the weight values during the same process.

Node 202 can examine historical logs and metrics data to determine the optimal weight values that can make optimal use of resources (e.g., bandwidth and available cache) at different points in time. For example, over a period of time, node 202 may determine that an attribute, such as available bandwidth, is not critical for namespace “/bbc/headlines.” Node 202 may then reduce the weight value of the available bandwidth attribute for namespace “/bbc/headlines.” If bandwidth is important between 5 PM and 7 PM, node 202 can increase the weight value for available bandwidth during those hours. Note that node 202 can determine whether bandwidth is more critical during certain hours by examining historical information detailing how traffic flows through the node's faces over different periods of time.

As another example, two Internet service providers (ISPs) may have a contract or tie up limiting the number of Interest messages between the peak hours of 5 PM and 7 PM to x Interests. Node 202 may dynamically adjust weight values during the peak hours of 5 PM to 7 PM to limit the number of Interest messages and re-adjust the weight values back to their original values after 7 PM.

Node 202 can set the weight values to achieve an objective of a namespace. This allows a node to forward Interests or cache Content Objects based on the objectives or goals associated with the namespace. For example, if routing policy is unimportant, node 202 may set w₃=0 where w₃ is the weight value for a routing policy attribute. Routing policies include, for example, restrictions on routing between nodes during certain time periods or restrictions on traffic load or types of traffic to some portions of the network. As another example, low latency is important for a good viewing experience with streaming video. Therefore, node 202 may set w₁=100 where w₁ is the weight value for a latency attribute. If security is paramount, such as when accessing a bank account online, then node 202 may set w₂=100 where w₂ is the weight value for a signature verification attribute.

As another example, high bandwidth and low latency can be important factors for a namespace associated with streaming video (e.g., “/netflix/video”). In contrast to other namespaces (e.g., “/citibank/savings”), the likelihood that a Content Object signature will verify successfully is not as important for streaming video. Thus, for the namespace “/netflix/video,” node 202 can increase the weight values for latency and bandwidth attributes, and decrease the weight values for signature verification attributes. As another example, “/cnn/videos” name prefix may involve different constraints than “/cnn/headlines” name prefix, and node 202 may also adjust the weight values to emphasize low latency and high bandwidth for “/cnn/videos.”

For the name prefix “/citibank/savings,” node 202 may reduce the weight values for latency and bandwidth attributes, and increase the weight values for the signature verification attribute. This places an emphasis on security, since there is a higher likelihood that received Content Objects will have digital signatures that verify successfully.

The nodes may determine and set the weight values locally. In some embodiments, an administrator may establish the value of the weights. The administrator can initially configure the weight values and then node 202 can dynamically update the weight values to ensure the local resources are not over utilized or underutilized. The administrator and/or node 202 can change the weight values as their needs change, and certain attributes become less important while other attributes become more important. In some embodiments, an organization may manage a sector of nodes, and set the weight values for the nodes with a globally distributed protocol.

Node 202 can compute the reputation value for a name prefix and/or face based on the attribute values and weight values. In some embodiments, node 202 may compute reputation values for all forwarding rules in the local FIB. Node 202 may compute and maintain a reputation value for a name prefix (e.g., “per name-prefix”) or for a face with a particular name prefix (e.g., “per name-prefix, per-face”). After computing the reputation values, node 202 can use the reputation values to make forwarding decisions. In some embodiments, node 202 may compute reputation values for faces that are candidates for forwarding an Interest when node 202 receives the Interest. Node 202 may update the computation values each time node 202 receives an Interest or Content Object. Node 202 may also compute reputation values before deciding to cache a Content Object in its Content Store and/or before determining which cached Content Object from its Content Store it can return in response to satisfy an Interest.

Reputation values are dynamic, and can change over time. For example, at 12:00 PM, face 214 may have a 50% reputation value, face 216 may have 60% reputation value, and face 218 may have 80% reputation value. Node 202 may forward an Interest via face 218 because face 218 has the highest reputation value of 80%. However, 10 minutes later, the network load distribution may change and network latency for the various faces also changes. An increased load at a face may also increase the latency of the face, thereby reducing its reputation value. Face 214 may change from the previous 50% reputation value to 80% reputation value, and face 218 may change from the previous 80% reputation value to 60% reputation value. Node 202 can shift the forwarding of Interests from face 218 to face 214 in response to the changing reputation values and changing network conditions.

Node 202 can also compute reputation values in non-real-time. For example, node 202 may cache some or all received Content Objects, and can periodically run a program through the elements in the cache to re-compute their reputation values. Node 202 can determine which Content Objects need to be evicted based on their reputation score. Node 202 can then store the updated reputation values for a name-prefix associated with a Content Object or a name-prefix-face combination associated with a Content Object (e.g., the reputation value is particular to the name prefix and face from which the Content Object was received).

In some embodiments, node 202 may also normalize the reputation value. For example, the normalized value can be in the range [0,1], or in the range [0,100]. The reputation value improves as the value of the reputation value increases, with the highest reputation value being the optimal score.

FIG. 3 and the associated description below present an introductory overview, and each CCN node may perform the individual operations of FIG. 3 at different times when executing operations of FIG. 4-FIG. 6.

Processing an Interest Using Attribute Values

FIG. 3 presents a flow chart illustrating an exemplary process for returning a Content Object in response to receiving an Interest, in accordance with an embodiment of the present invention. When a CCN node receives an Interest, the node may return a Content Object from its Content Store or may forward the Interest to one or more faces. If the node forwards the Interest, the node may then receive one or more Content Objects from one or more faces, and returns a Content Object via the face from which the node had received the Interest.

The node may initially receive an Interest via a face to a neighbor (operation 302). The node may determine whether there is an existing Content Object cached in the Content Store that can satisfy the Interest (e.g., a Content Object with a matching name prefix) (operation 304). If there is such a cached Content Object, then the node may determine a reputation value for the Content Object's name prefix (operation 306). In some embodiments, the node can store reputation information along with that Content Object in the Content Store. This reputation information may include a reputation value, and may include the attribute values and weights that were used to compute the reputation value. Hence, while determining the reputation value, the node can retrieve the reputation value it stored in association with the Content Object, or it can compute a new reputation value using the attributes and/or weights stored in the reputation information. For example, the node can use weights associated with a given objective (e.g., security) and the stored attribute values to compute the reputation value for the given objective. Alternatively, the node can compute the reputation value using some weights from the Content Object's reputation information and using other weights that are customized for the desired objective. As another example, the node can compute an updated attribute value for the Content Object by replacing some of the stored attribute values with more recent attribute values associated with the Content Object's name or name prefix.

The node may determine whether the cached Content Object's name prefix is associated with a reputation value above a predetermined threshold (operation 308). If the reputation value of the cached Content Object is above the predetermined threshold, the node may return the Content Object to the requesting node (operation 310). In some embodiments, if multiple Content Objects from the Content Store can satisfy the Interest, the node can return the Content Object with highest reputation. The node can also update attribute values, weight values, and reputation values at this time.

If the existing Content Object's name prefix is associated with a reputation below the predetermined threshold (operation 308), or if the node is not caching a matching Content Object (operation 304), the node may determine one or more faces that the node can use to forward the Interest (operation 312). Since the Content Store does not cache a Content Object with a reputation value that meets the requisite threshold, the node may forward the Interest to one of its neighboring nodes to obtain another Content Object that can satisfy the Interest. The node can look up the entries in a FIB to find forwarding rules that maps a name prefix of the Interest to one or more candidate faces.

The node can then determine a reputation value for the Interest namespace for each candidate face (operation 314). Each entry in the FIB also includes the corresponding reputation value. Alternatively, the node may update the reputation information associated with a candidate outbound face and/or the name prefix. The node may then select a candidate face based on the reputation values (operation 316). In some embodiments, the node may select a face with the highest reputation value, or multiple faces with reputation values above a predetermined threshold. The node may forward the Interest via the one or more selected faces (operation 318).

FIG. 4 presents a flow chart illustrating an overview of an exemplary process for computing a reputation value, in accordance with an embodiment of the present invention.

During operation, a node may initially assign a set of attributes to a name prefix or a face for a particular name prefix (operation 402). The node may then determine attribute values for the set of attributes assigned to a name prefix or a face for a particular name prefix (operation 404). The node can assign a weight value to each attribute (operation 406), and computes a reputation value for a name prefix and/or a face based on the attribute values and weight values (operation 408).

FIG. 5 presents a flow chart illustrating an exemplary process for using reputation values to determine how to forward an Interest, in accordance with an embodiment of the present invention. When a node receives an Interest, the node may determine the faces that are candidates for forwarding the Interest. In some embodiments, the node can determine a candidate face by performing a minimum-prefix-matching lookup (e.g., in a FIB) to obtain a forwarding rule that maps the Interest's name prefix to one or more candidate faces.

The node determines the reputation value of the candidate faces, and chooses one or more candidate faces with reputation values that satisfy a predetermined threshold for forwarding the Interest. The node then forwards the Interest to one or more faces.

In some embodiments, a forwarder and a reputation computation module may perform the FIB lookup, determine the candidate faces, compute the reputation values for the candidate faces, and choose one or more faces for forwarding the Interest. Some embodiments may include an additional forwarding decision-making module that performs the decision-making functions for forwarding Interests. Note that there are equivalent components on each node of the CCN to perform these functions.

As depicted in FIG. 5, the node may initially determine candidate faces for forwarding the Interest (operation 502). The node can look up forwarding rules in the FIB to determine which candidate faces it can forward the Interest to. For example, the FIB may a forwarding rule that maps “/bbc” to faces A, B, and C. Based on the forwarding rule, the node can forward an Interest with prefix “/bbc” to any one or more of faces A, B, and C.

The node then determines or updates the reputation values of the candidate faces (operation 504). The node may access the FIB to add, look up, or update the reputation values of the candidate faces. The node may add a reputation value if there is no existing reputation value, and/or while adding the forwarding rule to the FIB. The node may also periodically compute and store an updated reputation value based on recent attribute values or weight values for the name prefix or interface. For example, the node may look up an existing reputation value if the corresponding attribute values and weight values have not changed, or may update the reputation value if a corresponding attribute value or weight value has changed.

Note that the node generally computes reputation values for forwarding rules in the FIB as “per name-prefix, per face,” meaning that a reputation value is associated with a specific name prefix and a specific face. However, the node may compute some reputation values as “per name-prefix,” so that a reputation value is only associated with the name prefix and not associated with any face. In some embodiments, the FIB may designate a reputation value as a “per name-prefix” reputation value by entering a zero in the column for the face.

In some embodiments, when processing an Interest, the node need only add (e.g., compute and write), update, or look up reputation values for faces that are listed with a name prefix of the Interest. For example, if the name prefix is “/bbc” and only the forwarding rules for face A, face B, and face C have name prefix “/bbc” in the FIB, then the node only adds, updates, or looks up reputation values for face A, face B, and face C. An example FIB may include a 65% reputation value for face C and 60% reputation value for face B and face A. Note that the node need not compute or look up reputation values for faces that are not candidate faces. The node need not compute or look up a reputation value for a face D if face D is associated with name prefix “/netflix.”

In some embodiments, the node can “collapse” the reputation values so that the node computes reputation values on a per face basis. That is, a face can have a reputation value (and/or set of weight values and possibly set of attributes and/or attribute values) that is independent of the name prefix. Alternatively, the node can also associate reputation values with name prefixes with fine-grained granularity or coarse-grained granularity. The node can associate reputation values (and/or weight values and/or attributes and/or attribute values) with name prefixes at various levels of a namespace hierarchy. For example, the node can associate a reputation value (and/or weight values and/or attributes and/or attribute values) with “/bbc” and another reputation value (and/or weight values and/or attributes and/or attribute values) with “/bbc/headlines.”

The node can also classify name prefixes so that the name prefixes of a particular classification can have the same reputation values (and/or weight values and/or attributes and/or attribute values). For example, name prefixes for various news websites (e.g., “/bbc/headlines” and “/cnn/headlines”) may have the same set of reputation values (and/or weight values and/or attributes and/or attribute values). Also, packet traffic associated with a particular organization may be processed using the same reputation value, weight values, attributes, and/or attribute values. Providing the node with fine-grained control over reputation values, weight values and attributes improves performance and increases the probability of meeting the objectives associated with a name prefix or content category.

The node may determine which candidate faces have reputation values satisfying a predetermined threshold (operation 506). The node may choose to not forward the Interest to a candidate face that does not have a reputation value satisfying the predetermined threshold. For example, if the predetermined threshold is 60%, the node may choose to not forward the Interest to a candidate face associated with a reputation value of only 40%.

In some embodiments, the node may assign priorities to ingress faces. For example, the node may assign a higher priority to face E than face D. The node may forward via faces with higher reputation values (e.g., above a predetermined threshold) the Interests received through faces with higher priority, and it may forward via faces with lower reputation values the Interests received through faces with lower priority. The node may forward an Interest received through face E via a face with highest reputation value for a name prefix of the Interest. For example, if the node receives an Interest with namespace “/bbc/headlines” through face E, the node forwards the Interest via face C, assuming that face C has the highest reputation value (e.g., 65%) for namespace “/bbc/headlines.”

The node may then forward the Interest to one or more candidate faces with reputation values satisfying a predetermined threshold (operation 508). In some embodiments, the node may determine that faces with reputation values within a predetermined range are candidates for forwarding the Interest. For example, faces with reputation values between 65% and 100% can be candidates for forwarding an Interest. The node may then forward the Interest to one of the candidate faces, a selection of the candidate faces, or all of the candidate faces. In some embodiments, the node may randomly choose to forward an Interest to one of the faces.

If the difference in reputation values between two faces is within a predetermined threshold, the node can forward an Interest to both faces. For example, if face A has a reputation value of 60%, face C has a reputation value of 65%, and the maximum allowed difference is 6%, the node can forward an Interest to both faces.

Caching a Content Object

FIG. 6 presents a flow chart illustrating an exemplary process for updating attribute values, weight values, and reputation values, and using reputation values to determine whether to cache a Content Object, in accordance with an embodiment of the present invention. As depicted in FIG. 6, when a node receives a Content Object satisfying an Interest, the node may update the corresponding attribute values, weight values, and reputation values stored locally. The node decides whether to cache the Content Object by comparing the reputation value to a predetermined threshold, and may proceed with caching the Content Object if the reputation value is above (or below) a predetermined minimum (or maximum) threshold. The node then returns the Content Object via a face from which it received the Interest.

During operation the node can receive a Content Object satisfying an Interest in the PIT (operation 602). For example, the node may have sent an Interest with a name prefix “/bbc/headlines” via face A. Then, when the node receives the Content Object satisfying the Interest from face A, the node can use this Content Object to satisfy the Interest. In some embodiments, the node may receive multiple Content Objects associated with a common name or name prefix via multiple faces. If the node receives multiple Content Objects with different reputation values, the node may store each of these multiple Content Objects with their respective reputation information (e.g., reputation values and/or attribute and weight values).

The node may update reputation information, including attribute values, weight values, and reputation values, for each of one or more Content Objects (operation 604). For example, the node may update a log, which stores historical performance data, to include a latency based on the round-trip delay between when the Interest was disseminated and when a corresponding Content Object was received. The node may also compute a new average-latency attribute value (and other attribute values) based on the historical performance data. The node may also adjust the weight values to reflect new objectives. After receiving one or more Content Objects and updating the attribute and/or weight values, the node may use the updated attribute data and/or weight values to update reputation information for the faces (or for the name or name prefix of the Content Objects received via the faces) from which the one or more Content Objects were received. Note that the node can use any customized combination of attributes and attribute and weight values to compute the reputation value. In some embodiments, the node can update the attribute values, weight values, and reputation values at any time, including when the node receives an Interest, when the node receives or recomputes new weight values, or periodically during a scheduled automated task.

In some embodiments, the node may periodically sample performance data from a subset of Interests and/or Content Objects received via a face, or for a certain name prefix to maintain efficiency. The node may sample and log (e.g., store) response times for only a select portion of the Interests and Content Objects that it receives to mitigate any performance impact due to the overhead of maintaining historical performance data and computing up-to-date performance attributes.

The node may decide whether to cache a Content Object based on corresponding reputation information (operation 606). The node may cache a Content Object if an associated reputation value is above (or below) a predetermined minimum (or maximum) threshold. The node may determine whether to cache a particular Content Object based on the reputation value of the face (or the name or name prefix of a Content Object received via the face) that the node receives the Content Object from. In some embodiments, the node may also determine whether to cache a particular Content Object based on a reputation value associated with a name prefix for the Content Object itself, independent of any particular face. This reputation value may be, for example, an aggregate of reputation values for multiple faces from which the node received the Content Object. The node may store the Content Object in a Content Store, and may also store the Content Object's reputation information, including the reputation value and/or the attribute and weight values used to compute the reputation value (operation 608).

The node may then return the Content Object via the face through which it received the Interest (operation 610). If multiple PIT entries exist for the Content Object's name prefix, the node may return the Content Object via multiple faces.

In some embodiments, the node can adjust weight values for a name prefix to dynamically adjust how the node determines whether to cache a Content Object for this prefix. These weight values can be associated with the cache-decision process, and are different than the weight values used for determining how to forward an Interest Note that the cache-related reputation values can be computed so that a higher (or lower) reputation value for a name prefix causes the node to cache Content Objects associated with the name prefix. For example, if latency is a deciding factor for caching content, the node can assign a higher (or lower) weight value to the latency attribute. Also, as the latency increases for a name prefix, the node can normalize the corresponding latency attribute value to increase (or decrease) reputation value. The node may then cache Content Objects whose name prefix has a reputation score that is higher (or lower) than a predetermined minimum (or maximum) value.

The node may also use a number of requests received for the name prefix of a Content Object to determine whether to cache the Content Object. For example, if there are more Interests received for “/bbc/headlines” then “/cnn/headlines,” the node can assign a higher weight value to an “Interest-frequency” or “Interest-count” attribute (and/or for other related attributes) to cache Content Objects for name prefixes for which Interests are received often, and/or in large quantities. This causes the node to cache Content Objects for the name prefix “/bbc/headlines” more than other name prefixes for which Interests arrive less often. This improves the response time when the node receives “/bbc/headlines” in the future.

As another example, the node and/or an administrator may adjust a weight value for a “verification-success” attribute (and/or for other related attributes) to emphasize the importance of signature verification when caching Content Objects. If the node receives a particular Content Object from a face that has a low success rate for signature verification (e.g., only successfully verifies 20% of the signatures), the node may not cache the Content Object after determining that the reputation score for the face is below the minimum score required for caching the Content Object. However, the node may choose to cache a Content Object received from a face that has 80% signature verification successful rate.

The node can also evict Content Objects from the Content Store based on the reputation value associated with each Content Object or associated name-prefix. For example, the node can re-compute a reputation value for a cached Content Object based on recent attribute values for the face from which the Content Object was received (e.g., using attribute values computed after the Content Object was cached). However, if the new reputation value is below a predetermined minimum value (e.g., due to a reduced verification-success attribute for the face), the node can remove the Content Object from the Content Store.

As another example, the node may first cache a Content Object via a face with a reputation score that is slightly above the minimum threshold value. However, if the node receives a Content Object with the same name via a face with a higher reputation value, the node may evict the cached copy of the Content Object, and may store the recent Content Object received via the face with a higher reputation value. Note that the eviction operation does not interfere with the runtime forwarding of Interests or Content Objects.

In some embodiment, the node may have forwarded an Interest via multiple faces to solicit multiple candidate Content Objects for the Interest. Then, during operation 602, the node may receive multiple Content Objects via multiple faces, such that any of these Content Objects can be used to satisfy an Interest. The node may wait for a predetermined amount of time (e.g., an Interest's timeout period) to receive and cache multiple Content Objects. The node may choose to cache and/or return a Content Object received through a face with the highest reputation value. For example, the node may forward an Interest via face B when the reputation value of face B is 60%, and forward the same Interest via face C when the reputation value of face C is 65%. When the node receives a Content Object through face B, the reputation value of face B may have dropped to 20%, but the reputation value of face C may remain at 65%. Since the reputation value of face B has dropped to 20%, it is now below a predetermined threshold of 50% reputation value. The node may choose to not return the Content Object received through face B, but instead wait a predetermined amount of time to receive a Content Object via face C. If the node receives the Content Object via face C, the node can return this Content Object to satisfy the Interest. If the Interest times out, the node may return the Content Object from face B to satisfy the Interest as there are no other options.

Exemplary FIB with Reputation values

FIG. 7 presents a block diagram illustrating an exemplary FIB 700 with reputation values, according to an embodiment. Column 702 stores entries for one or more name prefixes (e.g., a content name, and/or name prefix or path), and column 704 stores an associated reputation value for a given namespace. Column 706 stores an associated face for the namespace.

As depicted in FIG. 7, there are five example forwarding rule entries in FIB 700. For example, the namespace “/bbc” is mapped to faces A, B, and C. The name prefix “/bbc” at face C has a reputation value of 65%, while the name prefix “/bbc” at either face A or face B has a reputation value of 60%. The namespace “/cnn” is not mapped to any face. The FIB entry for the name prefix “/cnn” has number zero in face column 706 to indicate that there is no face for the namespace. However, the node can compute a reputation value for the name prefix “/cnn” without regard to a face. Hence, reputation value column 704 for the “/cnn” entry can specify a reputation value of 60%. The FIB entry for name prefix “/netflix” specifies that name prefix “/netflix” is mapped to a face D, and that “/netflix” at face D has a reputation value of 50%.

FIG. 8 presents a block diagram illustrating an exemplary Content Store 800, according to an embodiment. Column 802 stores the namespace of a Content Object. Column 804 stores a reputation value of the Content Object. Some embodiments may also include a column 806 storing an identifier indicating a face that the Content Object was received through.

As depicted in FIG. 8, there are three Content Objects in Content Store 800. A node may compute and associate a reputation value with each object in Content Store 800. For example, Content Store 800 may associate a reputation value of 60% for a Content Object with a name prefix “/bbc/headlines” received via a face B, and may associate a reputation value of 50% for a Content Object with a name prefix “/Netflix/video” received via a face D.

The Content Store may also include a number zero in “face” column 806 to indicate that the reputation value is an aggregated value. For example, the Content Store may associate a reputation value of 60% with a Content Object with name prefix “/cnn/headlines” whose reputation score was computed based on historical data from multiple faces (as indicated by a number zero for the face identifier).

FIG. 9 illustrates an exemplary apparatus 900 that facilitates strategic forwarding and caching using reputation values, in accordance with an embodiment. Apparatus 900 can comprise a plurality of modules which may communicate with one another via a wired or wireless communication channel. Apparatus 900 may be realized using one or more integrated circuits, and may include fewer or more modules than those shown in FIG. 9. Further, apparatus 900 may be integrated in a computer system, or realized as a separate device which is capable of communicating with other computer systems and/or devices. Specifically, apparatus 900 can comprise a reputation computation module 902, a PIT 904, a FIB 906, a forwarder 908, a Content Store 910, a communication module 912, and a forwarding decision-making module 914.

Reputation computation module 902 can compute and update reputation values either periodically or on-demand (in near real-time). A node can maintain PIT 904 to keep track of pending Interests, and can update PIT 904 when it receives a new Interest or when an old Interest is satisfied or times out. PIT 904 stores entries for Interests that are to be matched against incoming Content Objects, and each entry is removed when a match is made, or when an Interest times out. FIB 906 is a forwarding table that contains information for the node to determine to which neighbor node or nodes an Interest needs to be sent.

Forwarder 908 forwards Interests and/or packets on the network. Forwarder 908 performs functions that include deciding to which faces it will forward an Interest based on reputation values, and updating reputation values and attribute values when a node receives an Interest or a Content Object. Note that in some embodiments, apparatus 900 may include additional modules that perform some of the individual functions of forwarder 908, and embodiments of the present invention are not limited to the modules described herein.

Content Store 910 can store Content Objects that apparatus 900 has received via one or more faces. In some embodiments, communication module 912 can receive a packet. Apparatus 900 may include forwarding decision-making module 914, which performs functions including deciding which faces apparatus 900 can use to forward an Interest based on a reputation value. Forwarding decision-making module 914 can also decide whether to cache Content Objects based on an associated reputation value.

Computer System

FIG. 10 presents an exemplary computer system for using reputation values to facilitate strategic forwarding and caching, in accordance with an embodiment of the present invention. As described with respect to FIG. 1, CCN devices can be any type of a computing device, including mobile computing devices, such as a laptop computer, a tablet or slate computer, a smartphone, or a personal digital assistant (PDA), or a stationary computing device, such as a desktop computer, an Internet server, or a home media server. FIG. 10 illustrates an example of such a computing device.

In FIG. 10, a computer and communication system 1000 includes a processor 1002, a memory 1004, and a storage device 1006. Storage device 1006 stores programs to be executed by processor 1002. Specifically, storage device 1006 stores a reputation computation module 1008, a PIT 1010, a FIB 1012, a forwarder 1014, a Content Store 1016, a communication module 1018, and a forwarding decision-making module 1020, as well as other applications, such as applications 1022 and 1024.

During operation, reputation computation module 1008, PIT 1010, FIB 1012, forwarder 1014, a module to facilitate caching in Content Store 1016, and forwarding decision-making module 1020 are loaded from storage device 1006 into memory 1004 and then executed by processor 1002. While executing the program, processor 1002 performs the aforementioned functions. Computer and communication system 1000 is coupled to an optional display 1026, keyboard 1028, and pointing device 1030.

The methods and processes described in the detailed description section can be embodied as code and/or data, which can be stored in a computer-readable storage medium as described above. When a computer system reads and executes the code and/or data stored on the computer-readable storage medium, the computer system performs the methods and processes embodied as data structures and code and stored within the computer-readable storage medium.

Furthermore, the methods and processes described below can be included in hardware modules. For example, the hardware modules can include, but are not limited to, application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), and other programmable-logic devices now known or later developed. When the hardware modules are activated, the hardware modules perform the methods and processes included within the hardware modules.

The foregoing descriptions of embodiments of the present invention have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the present invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the present invention. The scope of the present invention is defined by the appended claims. 

What is claimed is:
 1. A computer-executable method for reputation-based forwarding and caching, the method comprising: determining, by a computing device, one or more candidate outbound faces for forwarding an interest by looking up the interest's name or name prefix in a forwarding information base (FIB), wherein a respective FIB entry maps a name prefix to a forwarding rule that includes a corresponding outbound face for the name prefix, and wherein the name or name prefix is a hierarchically structured variable-length identifier (HSVLI); determining a reputation value for each of the candidate outbound faces based on reputation information stored in association with the interest's name or name prefix; selecting a candidate outbound face with a reputation value exceeding a first predetermined threshold; forwarding the interest via the selected candidate outbound face; receiving, via the selected candidate outbound face, a content object associated with the name or name prefix; determining the reputation value for the selected candidate outbound face through which the content object is received; and responsive to determining that the reputation value for the selected candidate outbound face through which the content object is received exceeds a second predetermined threshold, caching the content object in a content store that stores cached content objects.
 2. The method of claim 1, wherein the reputation information includes at least one of: a reputation value; a set of attribute values; and a set of attribute weights.
 3. The method of claim 1, wherein determining the reputation value involves performing one or more of: obtaining the reputation value from the reputation information; computing the reputation value based on one or more of the attribute values and attribute weights from the reputation information; and computing the reputation value from one or more of the attribute values of the reputation information and custom attribute weights for the one or more attribute values.
 4. The method of claim 1, further comprising: receiving, via one or more faces, one or more content objects associated with a common name or name prefix; determining, for each of the one or more content objects, reputation information for a respective face, or for the name or name prefix of the content object received via the respective face; determining whether to cache a respective content object based on the corresponding reputation information; and responsive to determining to cache the respective content object, caching the content object with the corresponding reputation information in a content store.
 5. The method of claim 1, further comprising: forwarding the interest via multiple outbound faces; waiting for a predetermined period of time to receive one or more content objects via any of the multiple outbound faces, wherein each of the one or more content objects is associated with reputation information; selecting, from the one or more content objects, a second content object with a highest reputation value; responsive to determining that the second content object's reputation value is higher than a reputation value of a cached content object: caching the second content object; and returning the second content object via a face from which the interest was received.
 6. The method of claim 1, further comprising: receiving a second interest from a first ingress face; performing a lookup in a content store to retrieve a cached content object that satisfies the second interest, wherein the content store stores the cached content object along with corresponding reputation information; and responsive to determining, from the cached content object's reputation information, that the cached content object's reputation value exceeds a predetermined threshold, returning the cached content object to the requesting node.
 7. The method of claim 1, further comprising: assigning an attribute value to one or more attributes for a second candidate outbound face; assigning a weight value to each of the one or more attributes; computing a reputation value for the second candidate outbound face for the name prefix based on the assigned attribute value and the assigned weight value; and storing reputation information, which includes the computed reputation value, attribute values, and weight values, in association with the second candidate outbound face and/or the name prefix.
 8. The method of claim 1, further comprising: computing one or more attribute values for a respective candidate outbound face based on the name prefix; normalizing a respective attribute value based on a highest expected value for the attribute; determining a weight for the respective attribute value; and computing the reputation value for the outbound face and name prefix as a weighted sum of the one or more attribute values.
 9. The method of claim 1, further comprising: receiving a first interest from a first ingress face, and a second interest from a second ingress face; determining that the second ingress face is associated with a higher priority than the first ingress face; forwarding the first interest via a first egress face; and forwarding the second interest via a second egress face with a reputation value that is higher than that of the first egress face.
 10. The method of claim 1, further comprising: determining, for a name prefix classification, a set of name prefixes associated with the name prefix classification; generating reputation information for the name prefix classification based on profiling information associated with the set of name prefixes; and associating the reputation information with the name prefix classification.
 11. The method of claim 1, wherein determining the reputation value for each of the candidate outbound faces further comprises determining a success rate for verifying signatures of content objects arriving via a respective candidate outbound face.
 12. A non-transitory computer-readable storage medium storing instructions which when executed by a computer cause the computer to perform a method, the method comprising: determining one or more candidate outbound faces for forwarding an interest by looking up the interest's name or name prefix in a forwarding information base (FIB), wherein a respective FIB entry maps a name prefix to a forwarding rule that includes a corresponding outbound face for the name prefix, and wherein the name or name prefix is a hierarchically structured variable-length identifier (HSVLI; determining a reputation value for each of the candidate outbound faces based on reputation information stored in association with the interest's name or name prefix; selecting a candidate outbound face with a reputation value exceeding a first predetermined threshold; forwarding the interest via the selected candidate outbound face; receiving, via the selected candidate outbound face, a content object associated with the name or name prefix; determining the reputation value for the selected candidate outbound face through which the content object is received; and responsive to determining that the reputation value for the selected candidate outbound face through which the content object is received exceeds a second predetermined threshold, caching the content object in a content store that stores cached content objects.
 13. The storage medium of claim 12, wherein the method further comprises: receiving, via one or more faces, one or more content objects associated with a name or name prefix; determining, for each of the one or more content objects, reputation information for a respective face, or for the name or name prefix of the content object received via the respective face; determining whether to cache a respective content object based on the corresponding reputation information; and responsive to determining to cache the respective content object, caching the content object with the corresponding reputation information in a content store.
 14. The storage medium of claim 12, wherein the method further comprises: forwarding the interest via multiple outbound faces; waiting for a predetermined period of time to receive one or more content objects via any of the multiple outbound faces, wherein each of the one or more content objects is associated with reputation information; selecting, from the one or more content objects, a second content object with a highest reputation value; responsive to determining that the second content object's reputation value is higher than a reputation value of a cached content object: caching the second content object; and returning the second content object via a face from which the interest was received.
 15. The storage medium of claim 12, wherein the method further comprises: receiving a second interest from a first ingress face; performing a lookup in a content store to retrieve a cached content object that satisfies the second interest, wherein the content store stores the cached content object along with corresponding reputation information; and responsive to determining, from the cached content object's reputation information, that the cached content object's reputation value exceeds a predetermined threshold, returning the cached content object to the requesting node.
 16. The storage medium of claim 12, wherein the method further comprises: assigning an attribute value to one or more attributes for a second candidate outbound face; assigning a weight value to each of the one or more attributes; computing a reputation value for the second candidate outbound face for the name prefix based on the assigned attribute value and the assigned weight value; and storing reputation information, which includes the reputation values, attribute values, and weight values, in association with the candidate outbound face and/or the name prefix.
 17. The storage medium of claim 12, wherein the method further comprises: computing one or more attribute values for a respective candidate outbound face based on the name prefix; normalizing a respective attribute value based on a highest expected value for the attribute; determining a weight for the respective attribute value; and computing the reputation value for the outbound face and name prefix as a weighted sum of the one or more attribute values.
 18. The storage medium of claim 12, wherein the method further comprises: receiving a first interest from a first ingress face, and a second interest from a second ingress face; determining that the second ingress face is associated with a higher priority than the first ingress face; forwarding the first interest via a first egress face; and forwarding the second interest via a second egress face with a reputation value that is higher than that of the first egress face.
 19. The storage medium of claim 12, wherein the method further comprises: determining, for a name prefix classification, a set of name prefixes associated with the name prefix classification; generating reputation information for the name prefix classification based on profiling information associated with the set of name prefixes; and associating the reputation information with the name prefix classification.
 20. A computing system comprising: one or more processors; a memory; and a non-transitory computer-readable medium coupled to the one or more processors storing instructions stored that, when executed by the one or more processors, cause the computing system to perform a method comprising: determining one or more candidate outbound faces for forwarding an interest by looking up the interest's name or name prefix in a forwarding information base (FIB), wherein a respective FIB entry maps a name prefix to a forwarding rule that includes a corresponding outbound face for the name prefix, and wherein the name or name prefix is a hierarchically structured variable-length identifier (HSVLI); determining a reputation value for each of the candidate outbound faces based on reputation information stored in association with the interest's name or name prefix; selecting a candidate outbound face with a reputation value exceeding a first predetermined threshold; forwarding the interest via the selected candidate outbound face; receiving, via the selected candidate outbound face, a content object associated with the name or name prefix; determining the reputation value for the selected candidate outbound face through which the content object is received; and responsive to determining that the reputation value for the selected candidate outbound face through which the content object is received exceeds a second predetermined threshold, caching the content object in a content store that stores cached content objects.
 21. The computing system of claim 20, wherein the method further comprises: forwarding the interest via multiple outbound faces; waiting for a predetermined period of time to receive one or more content objects via any of the multiple outbound faces, wherein each of the one or more content objects is associated with reputation information; selecting, from the one or more content objects, a second content object with a highest reputation value; responsive to determining that the second content object's reputation value is higher than a reputation value of a cached content object: caching the second content object; and returning the second content object via a face from which the interest was received.
 22. The computing system of claim 20, wherein the method further comprises: receiving a second interest from a first ingress face; performing a lookup in a content store to retrieve a cached content object that satisfies the second interest, wherein the content store stores the cached content object along with corresponding reputation information; and responsive to determining, from the cached content object's reputation information, that the cached content object's reputation value exceeds a predetermined threshold, returning the cached content object to the requesting node.
 23. The computing system of claim 20, wherein the method further comprises: assigning an attribute value to one or more attributes for a second candidate outbound face; assigning a weight value to each of the one or more attributes; computing a reputation value for the second candidate outbound face for the name prefix based on the assigned attribute value and the assigned weight value; and storing reputation information, which includes the reputation values, attribute values, and weight values, in association with the candidate outbound face and/or the name prefix.
 24. The computing system of claim 20, wherein the method further comprises: computing one or more attribute values for a respective candidate outbound face based on the name prefix; normalizing a respective attribute value based on a highest expected value for the attribute; determining a weight for the respective attribute value; and computing the reputation value for the outbound face and name prefix as a weighted sum of the one or more attribute values.
 25. The computing system of claim 20, wherein the method further comprises: receiving a first interest from a first ingress face, and a second interest from a second ingress face; determining that the second ingress face is associated with a higher priority than the first ingress face; forwarding the first interest via a first egress face; and forwarding the second interest via a second egress face with a reputation value that is higher than that of the first egress face.
 26. The computing system of claim 20, wherein the method further comprises: determining, for a name prefix classification, a set of name prefixes associated with the name prefix classification; generating reputation information for the name prefix classification based on profiling information associated with the set of name prefixes; and associating the reputation information with the name prefix classification. 